<script lang="ts" setup>
import { ref, defineProps, onBeforeUpdate } from 'vue'
const props = defineProps({
    title: {
        type: String,
        default: () => ''
    }
})
const title = ref('标题')

</script>

<template>
    <div style="height: fit-content;margin: 5px 0 10px 0;">
        <span><strong class="col">|</strong> <strong style="font-size: 120%;">{{ props.title }}</strong> </span>
    </div>
</template>

<style scoped lang="scss">
.col {
    color:red;
    font-size: 120%;
}
</style>